package software.literature.view.treeitem;

import java.util.ArrayList;
import java.util.List;

import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.TreeItem;

import software.literature.model.bean.BBGData;

public class LiteratureTreeItem  extends CommonTreeItem {
private int id;
//this bbg list is referenced
	public LiteratureTreeItem(TreeItem parent, int style) {
		super(parent, style);
		id=-1;
		Image image = new Image(this.getDisplay(), "images/literature_1.png");
		this.setImage(image);
	}
	  @Override
	    protected void checkSubclass() {
	        // TODO Auto-generated method stub
	    
	    }
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
}
